<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->
<!DOCTYPE html>
<html xmlns:wicket="http://wicket.apache.org">
<wicket:panel>
	<div id="chatTabs">
		<ul>
		</ul>
	</div>
	<form wicket:id="sendForm">
		<div wicket:id="toolbarContainer" class="tool-container"></div>
		<div style="position: relative;">
			<div id="chatMessage" wicket:id="chatMessage"></div>
			<div class="send" wicket:id="send" wicket:message="title:218">&crarr;</div>
			<input type="hidden" wicket:id="activeTab" id="activeChatTab"/>
		</div>
	</form>
	<div style="display: none">
		<div id="chat-date-template" class='date-row'></div>
		<div id="chat-msg-template" class='msg-row'>
			<div class='user-row'>
				<div class='from'></div>
				<span class='time'></span>
				<div class="clear"></div>
			</div>
			<div class='msg'></div>
			<div class="clear"></div>
		</div>
		<div id="chat-accept-template" class='tick om-icon clickable' wicket:message="title:1190"
			onclick='const e=$(this);chatActivity("accept", e.data("roomid"), e.data("msgid")); e.parent().remove();'></div>
		<span id="chat-close-block" class='ui-icon ui-icon-close' wicket:message="title:85"
			role='presentation'></span>

		<div id="chat-msg-area-template" class="messageArea">
			<div class="clear icons actions short">
				<div class='user om-icon clickable' wicket:message="title:1167"
						onclick='const e=$(this).parent();showUserInfo(e.data("userId"));'></div>
			</div>
			<div class="clear icons actions full">
				<div class='user om-icon clickable' wicket:message="title:1167"
						onclick='const e=$(this).parent();showUserInfo(e.data("userId"));'></div>
				<div class='add om-icon clickable' wicket:message="title:1186"
						onclick='const e=$(this);addContact(e.data("userId"));'></div>
				<div class='new-email om-icon clickable' wicket:message="title:1253"
						onclick='const e=$(this);privateMessage(e.data("userId"));'></div>
				<div class='invite om-icon clickable' wicket:message="title:1131"
						onclick='const e=$(this);inviteUser(e.data("userId"));'></div>
			</div>
		</div>
	</div>
</wicket:panel>
</html>
